maximum bitwise or pair from given range

join shbcf.ru